﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emgu.CV;
using Emgu.CV.Structure;
using Emgu.Util;
namespace OVS_VideoRecorder.Manager
{
    class VideoWriterAlert
    {
        public List<Image<Bgr, byte>> vWrit{get;set;}

        //public List<Image<Bgr, Byte>> VWrit
        //{
        //    get { return vWrit; }
        //    set { vWrit = value; }
        //}
        public int alertID{get;set;}

        //public int AlertID
        //{
        //    get { return alertID; }
        //    set { alertID = value; }
        //}
        public VideoWriterAlert(int _alertId)
        {
            alertID = _alertId;
            vWrit = new List<Image<Bgr, byte>>();
        }
        
        public void addImg(Image<Bgr, byte> img)
        {
            this.vWrit.Add(img.Clone());
            img.Dispose();
        }


    }
}
